package org.aceor.mddal.common.enums;

/**
 * Created by lxue on 16/3/19.
 */
public enum  ErrorCodeEnum {
    SYS_ERROR("SYS_ERROR","系统错误"),
    PARAM_ERROR("PARAM_ERROR","参数异常"),

    /**
     * mddal-common
     */
    ZKCONFIG_PART_PROPERTITY_EXSIT_NULLOREMPTY("ZKCONFIG_PART_PROPERTITY_EXSIT_NULLOREMPTY","zk部分配置文件属性存在null或空"),
    ZKCONFIG_PART_PROPERTITY_ALL_NULLOREMPTY("ZKCONFIG_PART_PROPERTITY_ALL_NULLOREMPTY","zk部分配置文件属性全部null或空")

    ;
    private String name;
    private String description;
    ErrorCodeEnum(String name, String description) {
        this.name = name;
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }
}
